<? #//v.3.3.0
$NOW = date("YmdHis",mktime(date("H")+$SETTINGS['timecorrection'],date("i"),date("s"),date("m"), date("d"),date("Y")));
#///////////////////////////////////////////////////////
#// COPYRIGHT 2007 Phpauction.org ALL RIGHTS RESERVED //
#///////////////////////////////////////////////////////
        
         if(isset($_COOKIE['USERLANGUAGE'])) {
  $USERLANG = $_COOKIE['USERLANGUAGE'];
} else {
  $USERLANG = $SETTINGS['defaultlanguage'];
}


// CREATE BANNER  


        if($SETTINGS['banners'] == 1) {

  
#// CALLS BANNER FUNCTI?ON

include $prefix."includes/banners.inc.php";
$banner = view();

        } else {
$banner =       "";
        }

?>






   <?php /*
 
 <!--------READ READ READ READ READ READ READ READ-------->
<!--------READ READ READ READ READ READ READ READ-------->
<!--------READ READ READ READ READ READ READ READ-------->
<!----------- The Following Varaibles Are Available For Use In The HEADER ------------->
<!-- The $variable name must be not changed in order for the item show in the browser -------->
<!-- You can place these variables between <DIV> </DIV> or <SPAN> </SPAN> tags for CSS markup --------->
<!-- NOTE: To use a $variable it needs to be placed in PHP < ? ? > brackets as you can see below ------>

                                      <!--
Categories List 
----------------------------------------- 
$categories_select        Setup In Admin
$categories_list          Setup In Admin   
$categories_graphic_select_menu  Setup In Admin
                       
Current Time 
----------------------------------------      
$current_date_time        Setup In Admin
                                          
User Counter
----------------------------------------        
$users_online_counter 
                                         
Page Info 
----------------------------------------                                 
$page_title               Setup In Admin   
$logo                     Setup In Admin       
$meta_tag_description     Setup In Admin       
$meta_tag_keywords        Setup In Admin              
                                       
Login Form
----------------------------------------                                
$header_login_form_complete   
$header_login_form_start  
$header_login_form_username_label     
$header_login_form_username_input    
$header_login_form_password_label    
$header_login_form_password_input    
$header_login_form_remember_me_checkbox_and_label  
$header_login_form_remember_me_hidden     
$header_login_form_submit_button         
$header_login_form_forgot_password_link    
$header_login_form_end     
                              
Search Form 
----------------------------------------                  
$search_form     
                             
Links
----------------------------------------                       
$home_link      
$logout_link           
$register_link           
$user_login_link    
$forgot_password_link  
$search_link          
$browse_categories_link 
$buy_bids_link  
$about_us_link  
$contact_us_link 
$help_link      
$feedback_link  
$live_auction_link 
$upcoming_auction_link  
$send_to_a_friend_link  
$privacy_policy_link 
$terms_and_conditions_link 
$how_it_works_link
$news_link
$winners_testimonials_link
 
** These links should only be 
** shown to logged in users.

$edit_profile_link 
$item_watch_link  
$user_bids_link  
$user_wins_link  
$user_payments_link 

Plain Text Info                         
-----------------------------------------
$user_email		             
$user_real_name            
$user_name                
$user_bids_remaining      
                     
     -->    
<!---------------- End ITEM Display Variables ------------------->      


 */
 
 ?>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<!-- Title -->

<title> <?php print $page_title  ; ?> </title>


  <!-- Meta Tags -->
<?php print $meta_tag_description ; ?>

<?php print $meta_tag_keywords ; ?>


<? 

if ( $USERLANG == EN ) {

echo "  <meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\" >   ";

 }
 
 if ( $USERLANG == CN ) {

echo "  <meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\" >   ";

 }

 if ( $USERLANG == ES ) {

echo "  <meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\" >   ";;

 }

  if ( $USERLANG == FR ) {

echo "  <meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\" >   ";

 }
 
 if ( $USERLANG == IT ) {

echo "  <meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\" >   ";

 }
 
   if ( $USERLANG == DE ) {

echo "  <meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\" >   ";

 }
 
 if ( $USERLANG == PG ) {

 echo "   <meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-'\" >  ";

 }

?>



           
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />


<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">



<?php /*
<!--------READ READ READ READ READ READ READ READ-------->
<!--------READ READ READ READ READ READ READ READ-------->
<!--------READ READ READ READ READ READ READ READ-------->
<!-- THIS IS THE CSS STYLESHEET FOR NON INTERNET EXPLORER BROWSER -->
*/ ?>


<link rel="stylesheet" type="text/css" href="iphone.css" />



<?php /*
<!--------READ READ READ READ READ READ READ READ-------->
<!--------READ READ READ READ READ READ READ READ-------->
<!--------READ READ READ READ READ READ READ READ-------->
<!-- THIS IS THE CSS STYLESHEET FOR INTERNET EXPLORER BROWSER -->
*/ ?>






<?php /*
<!--------READ READ READ READ READ READ READ READ-------->
<!--------READ READ READ READ READ READ READ READ-------->
<!--------READ READ READ READ READ READ READ READ-------->
<!-- Do Not Erase JavaScript Links Below or JavaScript Code  -->

*/ ?>

<script type="text/javascript" src="js/ajax_global.js" language="Javascript"></script>
<script type="text/javascript" src="js/SpryEffects.js" language="Javascript"></script>
<script type="text/javascript" src="js/global_utilities.js" language="Javascript"></script>
<script type="text/javascript" language="Javascript">


    <?php print   $live_and_upcoming_auction_javascript ; ?>


</script>
</head>

  <?php /*
      <!--------READ READ READ READ READ READ READ READ-------->
   <!--------READ READ READ READ READ READ READ READ-------->
   <!--------READ READ READ READ READ READ READ READ-------->
   <!--  DO CHANGE OR DELETE < ? print $body_tag_onload; ? > BELOW --> */

?>


<?php print $body_tag_onload; ?>


<DIV class=PAGE_WRAPPER >

  <DIV class=HEADER_BOX_ON >   <!-- To Turn Off Header Change The "class" to "HEADER_BOX_OFF" -->
  <DIV class=LOGO_BOX >

     <!--     <A href=index.php>
 <img src="images/logo.jpg" border=0> 

      </A>  -->
  
                 <?
        if($SETTINGS['logo']) {
        ?>
          <a href="<?=$SETTINGS['siteurl']?>index.php?"><img src="<?=$SETTINGS['siteurl'].phpa_uploaded(false).$SETTINGS['logo'];?>" border="0" alt="<?=$SETTINGS['sitename']?>"/></a> 
          <?
        } else {
     print $logo;
        }
        ?>
        
</DIV> <!-- END LOGO BOX -->

 <DIV style="clear:left; padding-top: 10px; text-align:center; width:300px; background:#B0F0FF; height: 30px; margin-left:5px; margin-bottom:15px;">
      
      <? if($_SESSION["PHPAUCTION_LOGGED_IN"]) {
          	/* user is logged in */                     ?>
	  	
       
       <font size=+2 > 
      <?php
  
$logged_in_header = $HELLO;
$logged_in_header .= "&nbsp;";
$logged_in_header .= $_SESSION['PHPAUCTION_LOGGED_IN_USERNAME'];
$logged_in_header .= "";
 
  echo $logged_in_header;
  
      ?>
          </font>
          
                                  
                  
                    <?php
        } else {    ?>
         
     <CENTER><a href=<?=$SETTINGS['siteurl']?>user_loginphone.php><font size=+2 >Login</font></a></CENTER>
     
          	<?php }	?>
              </DIV>           
    </DIV> <!-- END HEADER BOX -->










